package com.leiduoduo.oms.service;

import com.leiduoduo.oms.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderService {
    boolean addOrder(Order order);
    boolean delOrder(Order order);
    boolean upOrder(Order order);
    boolean upOrderState(Order order);
    Order getOrderById(int id);
    List<Order> getOrderList();
    int getOrderListCount(Object dao, Map<String, Object> map);
    List<Order> getOrderListByPage(int current, int pageSize, Object dao, Map<String, Object> map);
}
